module.exports = app => {
    const { router, controller } = app;
    router.get('/', controller.home.index);

    //注册接口
    router.post("/register",controller.home.register)
  };